const express = require('express');
let router = express.Router();
let Point = require('./testClass');

socketManage= new Point();
socketManage2 =new Point();
/* GET users listing. */
router.get('/', function(req, res, next) {
    socketManage.removeObj(2);
    socketManage.log();
    socketManage2.log();
    res.send('respond with a resource');
});

router.get('/ll', function(req, res, next) {
  socketManage.addObj(3);
    socketManage.log();
    res.send('respond with a resource');
});

module.exports = router;
